package ms.unicorn.modellanguage;

import java.net.URL;

import org.eclipse.gmf.runtime.emf.type.core.IContainerDescriptor;
import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.gmf.runtime.emf.type.core.IHintedType;
import org.eclipse.gmf.runtime.emf.type.core.SpecializationType;
import org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice;

public class HintedSpecializationType extends SpecializationType implements IHintedType {

	private IModelLanguage language;
	private LanguageElement element;
	private String semanticHint;
		
	public HintedSpecializationType(String id, URL iconURL, String displayName,
			IElementType[] elementTypes, IElementMatcher matcher,
			IContainerDescriptor descriptor, IEditHelperAdvice editHelperAdvice) {
		super(id, iconURL, displayName, elementTypes, matcher, descriptor,
				editHelperAdvice);
	}

	public void setLanguage(IModelLanguage language) {
		this.language = language;
	}

	public IModelLanguage getLanguage() {
		return language;
	}

	public void setElement(LanguageElement element) {
		this.element = element;
	}

	public LanguageElement getElement() {
		return element;
	}

	public void setSemanticHint(String semanticHint) {
		this.semanticHint = semanticHint;
	}

	public String getSemanticHint() {
		return semanticHint;
	}
}
